home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / prcmv24c.arc / SOURCE.CMD < prev    next >
OS/2 REXX Batch file  |  1986-09-19  |  2KB  |  22 lines

  1. /**********************************************************************/
  2. /*                                                                    */
  3. /* Sample command file for automatic logon to the Source (r) through  */
  4. /* Telenet.                                                           */
  5. /*                                                                    */
  6. /**********************************************************************/
  7.  
  8. EMULATE VT100           /* emulate VT-100                                */
  9. DIAL "27"               /* Call dial dir entry number 27 (Telenet)       */
  10. TRANSMIT "!"            /* Transmit Carriage return <CR>                 */
  11. TRANSMIT "!"            /* Transmit Carriage return <CR>                 */
  12. WAITFOR "TERMINAL=" 40  /* Wait for "TERMINAL=" to come in COM port      */
  13. TRANSMIT "d1!"          /* give telenet the terminal identifier          */
  14. WAITFOR "@" 40          /* Wait for "@" to come in COM port              */
  15. TRANSMIT "C 30148!"     /* Send request to telenet for The Source        */
  16. WAITFOR ">" 40          /* Wait for prompt from The Source               */
  17. TRANSMIT "ID BBX714!"   /* Transmit user id <CR>                         */
  18. PAUSE "20"              /* wait... The Source takes a while at first...  */
  19. WAITFOR "Password?" 40  /* Wait for Source password prompt               */
  20. TRANSMIT "BOAT77!"      /* Transmit password <CR>                        */
  21. ALARM                   /* Sound alarm to let you know logon is complete */
  22.